<template>
  <section>
    <el-row justify="space-between" type="flex">
      <el-form :inline="true">
        <el-form-item>
          <el-button size="small" type="primary" @click="back">返 回</el-button>
        </el-form-item>
        <el-form-item label="逻辑班号">
          <el-input size="small"></el-input>
        </el-form-item>
        <el-form-item label="课程名称">
          <el-input size="small"></el-input>
        </el-form-item>
        <el-form-item label="班级">
          <el-input size="small"></el-input>
        </el-form-item>
        <el-form-item label="人数">
          <el-input size="small"></el-input>
        </el-form-item>
      </el-form>
    </el-row>
    <el-table :data="tableData" stripe>
      <el-table-column label="序号" type="index" width="80"></el-table-column>
      <el-table-column label="姓名"></el-table-column>
      <el-table-column label="学号"></el-table-column>
      <el-table-column label="专业"></el-table-column>
      <el-table-column label="考试时间"></el-table-column>
      <el-table-column label="操作" width="280">
        <template slot-scope="scope">
          <el-button type="text" size="mini">学习情况</el-button>
          <el-button type="danger" size="mini">删 除</el-button>
          <el-button type="danger" size="mini">重置密码</el-button>
        </template>
      </el-table-column>
    </el-table>
  </section>
</template>
<script>
export default {
    props: ["Part"],
    data() {
        return {
            tableData: [{}]
        };
    },
    methods: {
        back() {
            this.Part.PartA = false;
            this.Part.PartB = true;
            this.$emit("PartMsg", this.Part);
            this.$router.push({ path: "/Teacher/Student" });
        }
    }
};
</script>
